/**
 * Project Name:fire-industry-DM-center
 * File Name:UpdatePO.java
 * Package Name:com.firestone.bean.po.resource
 * Date:2018年3月30日上午10:24:53
 *
*/

package com.firestone.bean.po.resource;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: TODO(修改资源入参封装)
 * @author CAIYJ
 * @date 2018年3月30日 上午10:24:53
 */
@ApiModel(value = "修改资源入参封装", description = "修改资源入参封装")
public class UpdatePO {
    @ApiModelProperty(value = "资源名称", name = "name", example = "企业列表")
    private String name;

    @ApiModelProperty(value = "类型：1：DM菜单；2：终端菜单；...；10：资源URL", name = "type", example = "1")
    private Integer type;

    @ApiModelProperty(value = "资源URL", name = "url", example = "/resource/save")
    private String url;

    @ApiModelProperty(value = "资源权限", name = "permission", example = "resource:sava")
    private String permisson;

    @ApiModelProperty(value = "父权限ID", name = "patentId", example = "1")
    private Integer patentId;

    @ApiModelProperty(value = "资源描述", name = "describe", example = "这是一个描述")
    private String describe;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPermisson() {
        return permisson;
    }

    public void setPermisson(String permisson) {
        this.permisson = permisson;
    }

    public Integer getPatentId() {
        return patentId;
    }

    public void setPatentId(Integer patentId) {
        this.patentId = patentId;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }
}

